在脚本中搜索"Buy sell"
ZenTrend Follower Signals (Backtest)Buy/Sell Entry signals based on the ZenTrend Follower indicator.
Entries are taken from the setup and trend breakout level, exits from the trailing stop loss.
Overextension and trend re-entry signals are ignored.
The indicator is linked below
If you enjoy these posts please like and subscribe so more people can join you :)
If you want to tryout the indicator and strategy, follow me and drop a comment or pm and I’ll get you set up.
Stay calm, and happy trading!
More information on the indicator can be found below:
Altcoins StrategyBuy/Sell Altcoins strategy. Based on moving averages, divergences, price and volume
Buy SellKıvanc hocanın yazdığı 2 stop loss indikatörünün birleşmesi sonucu bulundu. Çalışma mantığını kullandıkça anlayacaksınızıdır.
Buy Sell signal by Spicytrader
Get on board before going to the moon !
Spicytrader instantly identifies when a potential pump or dump is beginning.
Compatible with Autoview bot
GET ACCESS : spicytrader.com
Buy/Sell Using MACD and ReversalsUsing the crossover of Signal Line and MACD line predict the reversals of trends in the chart.
Buy/Sell Ahmed Rashiedtrade with confidence good for both intra day and long term took me 2 yrs to finish it
MULTIPLE TIME-FRAME STRATEGY(TREND, MOMENTUM, ENTRY) Hey everyone, this is one strategy that I have found profitable over time. It is a multiple time frame strategy that utilizes 3 time-frames. Highest time-frame is the trend, medium time-frame is the momentum and short time-frame is the entry point.
Long Term:
- If closed candle is above entry then we are looking for longs, otherwise we are looking for shorts
Medium Term:
- If Stoch SmoothK is above or below SmoothK and the momentum matches long term trend then we look for entries.
Short Term:
- If a moving average crossover(long)/crossunder(short) occurs then place a trade in the direction of the trend.
Close Trade:
- Trade is closed when the Medium term SmoothK Crosses under/above SmoothD.
You can mess with the settings to get the best Profit Factor / Percent Profit that matches your plan.
Best of luck!
[STRATEGY][RS]MicuRobert EMA cross V2Great thanks Ricardo , watch this man . Start at 2014 December with 1000 euro.
Deep in the Tape – VSA (Invite Only)Deep in the Tape – VSA (Invite-Only)
Quick Start
This invite-only indicator is built on Tom Williams’ Volume Spread Analysis (VSA). It highlights professional activity through classical VSA events and adds labels for confirmations, aggressive signals, and failures. The goal is to help traders study background strength/weakness, follow-through, and traps directly on the chart.
What It Shows
VSA Events: Stopping Volume, Selling Climax, Shakeout, Buying Climax, Upthrust, Supply Coming In, No Demand, No Supply, Confirmed Test Bars, End of Rising Market.
Labels:
BUY / SELL – show when classical confirmations appear (e.g., Test/NS after strength, ND after weakness).
AGG BUY / AGG SELL – highlight aggressive early entries when supply/demand is quickly absorbed or confirmed.
FAIL / TEST FAIL – show failed VSA setups where effort is not confirmed, helping traders recognize traps.
Context Tools:
High/low lines from ultra-high-volume trigger bars projected forward.
Optional high-volume cluster zones to mark potential accumulation/distribution.
Optional moving average for background context (not a signal generator).
How to Use It :
Read the Background
Look for ultra-high-volume events that mark professional activity: SC, SV, SO for strength; UT, BC, Supply Coming In for weakness.
Watch for the Response
After strength → look for Tests or No Supply to confirm demand, often labeled as BUY.
After weakness → watch for No Demand or UT follow-through, labeled as SELL.
Best Practice with Context
Bullish setups are best taken above the trigger levels and above the MA, showing demand in control.
Bearish setups are best taken below the trigger levels and below the MA, confirming supply pressure.
Study Failures and Aggressive Signals
Aggressive labels show when the market reacts quickly, confirming activity before a classical test.
Failure labels show when expected follow-through breaks down, revealing traps or absorption. These are highly educational in tape-reading.
Alerts: Ready-to-use alert conditions for all confirmations, aggressive signals, and failures, allowing real-time notifications.
Customization:
Users can toggle individual signals (e.g., Stopping Volume, No Demand, Tests, Aggressive Entries, Failure labels) on or off, tailoring the display to their preferred VSA study style.
Use Projected Levels & Clusters
Trigger levels and cluster zones provide natural S/R where professional money often reappears. Watching price response around these zones is key.
Why It’s Original
This script is not a mashup of indicators. Every condition is coded around VSA principles—spread, volume, wick proportions, close location, and context. Labels are mapped directly to Tom Williams’ methodology of background + test + confirmation. Clusters and projected levels extend the same VSA logic to make professional activity visible in real time.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading and investing involve risk. Always do your own analysis and risk management.
Deep in the Tape VSADeep in the Tape VSA
Overview
This study applies the principles of Volume Spread Analysis (VSA) as taught by Tom Williams. The purpose is not to generate signals, but to highlight the footprints of professional activity so that discretionary traders can read the market background, context, and likely response. It combines classic VSA events, contextual support/resistance lines, cluster zones, and an optional moving average—but each element is tied directly to VSA logic, not added arbitrarily.
Quick Start
This is a study-only VSA tool based on Tom Williams’ Volume Spread Analysis. It highlights professional activity through classic VSA events, projected support/resistance levels, and optional cluster/MA context. It does not provide alerts, trade entries, or failures—its purpose is to help traders visually study supply and demand in the background, just as Tom taught.
What It Shows
VSA Events
The tool identifies major supply/demand events that Tom Williams emphasized:
• Stopping Volume (SV)
• Selling Climax (SC)
• Shakeout (SO)
• Buying Climax (BC)
• Upthrust (UT)
• Supply Coming In
• No Demand (ND)
• No Supply (NS)
• Test Bar
• End of Rising Market (EoRM)
These are not buy/sell signals. They are points of interest where professionals are most active.
Context Lines
When a new ultra-high-volume VSA event occurs, the high and low of that bar are projected forward as horizontal lines. These levels often act as support/resistance where the market later reveals professional intent.
Cluster Zones (optional)
Clusters are built when several consecutive high-volume bars form a range. Depending on whether price absorbs at the lows or rejects at the highs, the zone takes on a bullish or bearish bias. This reflects Tom’s teaching that accumulation and distribution campaigns often occur in ranges.
Moving Average (optional)
A simple, color-shifting MA is included for context only. It’s not a trading signal. It helps frame whether the market is generally pushing above or below a key mean, complementing the VSA background.
How to Use It
Start with the Background
Look for ultra-high-volume events such as SC, SV, SO (strength) or UT, BC, Supply Coming In (weakness). These form the background. Do not trade them immediately—wait to see how price reacts.
Watch the Response at Levels
When price revisits the projected high/low of a trigger bar, ask:
• If the background is strong, do you see No Supply or a Test (low volume, narrow spread, firm close) near support?
• If the background is weak, do you see No Demand or poor rallies near resistance?
This response tells you whether professional money is defending or abandoning the level.
Study Clusters for Campaigns
If a high-volume cluster forms, treat it as potential accumulation/distribution. Price breaking away with supporting VSA context reveals the likely direction of the campaign.
Use the MA Only for Context
A Test or No Supply above the MA carries more weight. A No Demand or Upthrust below the MA is more reliable. The MA is not a signal—it is a gate that filters the background story.
Important Notes
This is a study-only tool. It does not provide alerts, entries, failures, or automated trading signals.
All events are contextual: they can repaint until the bar closes, and their value depends on background + response.
Volume behavior differs by symbol and market, so interpretation requires discretion.
The purpose is educational—to help traders apply Tom Williams’ VSA framework directly on charts.
Why this is not a mashup:
Every component (VSA events, projected lines, clusters, MA) is directly connected to VSA logic.
The script is not a rehash of built-ins. It encodes specialized conditions (spreads, closes, wick sizes, volume relative to background) to surface professional activity.
The description explains how each part is used together in Tom’s framework—making it clear, original, and useful to the community.
Disclaimer
This script is for educational purposes only and does not constitute financial advice.
Mickey's TrendLock📌 Strategy Overview
The Mickey's Trendlock is a professional intraday trading system that combines long-term and short-term exponential moving averages (EMA200 & EMA20) with multiple confirmation filters to generate high-probability trade setups. It is designed for both trend-following crossovers and pullback entries, giving traders flexibility in approach.
⚙️ Core Logic
Entry Modes:
Cross Mode → Signals when EMA20 crosses above/below EMA200.
Pullback Mode → Signals when price pulls back to EMA20 within the larger EMA200 trend bias.
Confirmations (toggle on/off):
RSI(14) → Long only if RSI ≥ 50, Short only if RSI ≤ 50.
VWAP Bias → Longs above VWAP, Shorts below VWAP.
Volume Confirmation → Optional filter requiring Volume > SMA(20).
🛡️ Risk Management
Stop Loss Options:
ATR-based Stop with adjustable multiplier.
EMA-anchored Stop (EMA20 or EMA200).
Take Profit: Configurable Risk/Reward (R:R) ratio.
Trailing Stop: Optional ATR-based trailing stop for dynamic protection.
📊 Features
Customizable Risk Controls – ATR/EMA stop-loss, risk–reward targets, trailing stops.
Clean Visuals – EMA200, EMA20, and VWAP plotted for clarity.
Alerts – JSON-format alerts for automated broker integration.
Entry Labels – BUY/SELL markers on chart for visual tracking.
✅ Best Suited For
Intraday traders who prefer trend-based setups with confirmation filters.
Traders looking for rule-based entries & exits with strict risk management.
Users who want alert-ready signals for automated execution.
⚠️ Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Trading involves risk; always test thoroughly before using live capital.
Game Theory Trading StrategyGame Theory Trading Strategy: Explanation and Working Logic
This Pine Script (version 5) code implements a trading strategy named "Game Theory Trading Strategy" in TradingView. Unlike the previous indicator, this is a full-fledged strategy with automated entry/exit rules, risk management, and backtesting capabilities. It uses Game Theory principles to analyze market behavior, focusing on herd behavior, institutional flows, liquidity traps, and Nash equilibrium to generate buy (long) and sell (short) signals. Below, I'll explain the strategy's purpose, working logic, key components, and usage tips in detail.
1. General Description
Purpose: The strategy identifies high-probability trading opportunities by combining Game Theory concepts (herd behavior, contrarian signals, Nash equilibrium) with technical analysis (RSI, volume, momentum). It aims to exploit market inefficiencies caused by retail herd behavior, institutional flows, and liquidity traps. The strategy is designed for automated trading with defined risk management (stop-loss/take-profit) and position sizing based on market conditions.
Key Features:
Herd Behavior Detection: Identifies retail panic buying/selling using RSI and volume spikes.
Liquidity Traps: Detects stop-loss hunting zones where price breaks recent highs/lows but reverses.
Institutional Flow Analysis: Tracks high-volume institutional activity via Accumulation/Distribution and volume spikes.
Nash Equilibrium: Uses statistical price bands to assess whether the market is in equilibrium or deviated (overbought/oversold).
Risk Management: Configurable stop-loss (SL) and take-profit (TP) percentages, dynamic position sizing based on Game Theory (minimax principle).
Visualization: Displays Nash bands, signals, background colors, and two tables (Game Theory status and backtest results).
Backtesting: Tracks performance metrics like win rate, profit factor, max drawdown, and Sharpe ratio.
Strategy Settings:
Initial capital: $10,000.
Pyramiding: Up to 3 positions.
Position size: 10% of equity (default_qty_value=10).
Configurable inputs for RSI, volume, liquidity, institutional flow, Nash equilibrium, and risk management.
Warning: This is a strategy, not just an indicator. It executes trades automatically in TradingView's Strategy Tester. Always backtest thoroughly and use proper risk management before live trading.
2. Working Logic (Step by Step)
The strategy processes each bar (candle) to generate signals, manage positions, and update performance metrics. Here's how it works:
a. Input Parameters
The inputs are grouped for clarity:
Herd Behavior (🐑):
RSI Period (14): For overbought/oversold detection.
Volume MA Period (20): To calculate average volume for spike detection.
Herd Threshold (2.0): Volume multiplier for detecting herd activity.
Liquidity Analysis (💧):
Liquidity Lookback (50): Bars to check for recent highs/lows.
Liquidity Sensitivity (1.5): Volume multiplier for trap detection.
Institutional Flow (🏦):
Institutional Volume Multiplier (2.5): For detecting large volume spikes.
Institutional MA Period (21): For Accumulation/Distribution smoothing.
Nash Equilibrium (⚖️):
Nash Period (100): For calculating price mean and standard deviation.
Nash Deviation (0.02): Multiplier for equilibrium bands.
Risk Management (🛡️):
Use Stop-Loss (true): Enables SL at 2% below/above entry price.
Use Take-Profit (true): Enables TP at 5% above/below entry price.
b. Herd Behavior Detection
RSI (14): Checks for extreme conditions:
Overbought: RSI > 70 (potential herd buying).
Oversold: RSI < 30 (potential herd selling).
Volume Spike: Volume > SMA(20) x 2.0 (herd_threshold).
Momentum: Price change over 10 bars (close - close ) compared to its SMA(20).
Herd Signals:
Herd Buying: RSI > 70 + volume spike + positive momentum = Retail buying frenzy (red background).
Herd Selling: RSI < 30 + volume spike + negative momentum = Retail selling panic (green background).
c. Liquidity Trap Detection
Recent Highs/Lows: Calculated over 50 bars (liquidity_lookback).
Psychological Levels: Nearest round numbers (e.g., $100, $110) as potential stop-loss zones.
Trap Conditions:
Up Trap: Price breaks recent high, closes below it, with a volume spike (volume > SMA x 1.5).
Down Trap: Price breaks recent low, closes above it, with a volume spike.
Visualization: Traps are marked with small red/green crosses above/below bars.
d. Institutional Flow Analysis
Volume Check: Volume > SMA(20) x 2.5 (inst_volume_mult) = Institutional activity.
Accumulation/Distribution (AD):
Formula: ((close - low) - (high - close)) / (high - low) * volume, cumulated over time.
Smoothed with SMA(21) (inst_ma_length).
Accumulation: AD > MA + high volume = Institutions buying.
Distribution: AD < MA + high volume = Institutions selling.
Smart Money Index: (close - open) / (high - low) * volume, smoothed with SMA(20). Positive = Smart money buying.
e. Nash Equilibrium
Calculation:
Price mean: SMA(100) (nash_period).
Standard deviation: stdev(100).
Upper Nash: Mean + StdDev x 0.02 (nash_deviation).
Lower Nash: Mean - StdDev x 0.02.
Conditions:
Near Equilibrium: Price between upper and lower Nash bands (stable market).
Above Nash: Price > upper band (overbought, sell potential).
Below Nash: Price < lower band (oversold, buy potential).
Visualization: Orange line (mean), red/green lines (upper/lower bands).
f. Game Theory Signals
The strategy generates three types of signals, combined into long/short triggers:
Contrarian Signals:
Buy: Herd selling + (accumulation or down trap) = Go against retail panic.
Sell: Herd buying + (distribution or up trap).
Momentum Signals:
Buy: Below Nash + positive smart money + no herd buying.
Sell: Above Nash + negative smart money + no herd selling.
Nash Reversion Signals:
Buy: Below Nash + rising close (close > close ) + volume > MA.
Sell: Above Nash + falling close + volume > MA.
Final Signals:
Long Signal: Contrarian buy OR momentum buy OR Nash reversion buy.
Short Signal: Contrarian sell OR momentum sell OR Nash reversion sell.
g. Position Management
Position Sizing (Minimax Principle):
Default: 1.0 (10% of equity).
In Nash equilibrium: Reduced to 0.5 (conservative).
During institutional volume: Increased to 1.5 (aggressive).
Entries:
Long: If long_signal is true and no existing long position (strategy.position_size <= 0).
Short: If short_signal is true and no existing short position (strategy.position_size >= 0).
Exits:
Stop-Loss: If use_sl=true, set at 2% below/above entry price.
Take-Profit: If use_tp=true, set at 5% above/below entry price.
Pyramiding: Up to 3 concurrent positions allowed.
h. Visualization
Nash Bands: Orange (mean), red (upper), green (lower).
Background Colors:
Herd buying: Red (90% transparency).
Herd selling: Green.
Institutional volume: Blue.
Signals:
Contrarian buy/sell: Green/red triangles below/above bars.
Liquidity traps: Red/green crosses above/below bars.
Tables:
Game Theory Table (Top-Right):
Herd Behavior: Buying frenzy, selling panic, or normal.
Institutional Flow: Accumulation, distribution, or neutral.
Nash Equilibrium: In equilibrium, above, or below.
Liquidity Status: Trap detected or safe.
Position Suggestion: Long (green), Short (red), or Wait (gray).
Backtest Table (Bottom-Right):
Total Trades: Number of closed trades.
Win Rate: Percentage of winning trades.
Net Profit/Loss: In USD, colored green/red.
Profit Factor: Gross profit / gross loss.
Max Drawdown: Peak-to-trough equity drop (%).
Win/Loss Trades: Number of winning/losing trades.
Risk/Reward Ratio: Simplified Sharpe ratio (returns / drawdown).
Avg Win/Loss Ratio: Average win per trade / average loss per trade.
Last Update: Current time.
i. Backtesting Metrics
Tracks:
Total trades, winning/losing trades.
Win rate (%).
Net profit ($).
Profit factor (gross profit / gross loss).
Max drawdown (%).
Simplified Sharpe ratio (returns / drawdown).
Average win/loss ratio.
Updates metrics on each closed trade.
Displays a label on the last bar with backtest period, total trades, win rate, and net profit.
j. Alerts
No explicit alertconditions defined, but you can add them for long_signal and short_signal (e.g., alertcondition(long_signal, "GT Long Entry", "Long Signal Detected!")).
Use TradingView's alert system with Strategy Tester outputs.
3. Usage Tips
Timeframe: Best for H1-D1 timeframes. Shorter frames (M1-M15) may produce noisy signals.
Settings:
Risk Management: Adjust sl_percent (e.g., 1% for volatile markets) and tp_percent (e.g., 3% for scalping).
Herd Threshold: Increase to 2.5 for stricter herd detection in choppy markets.
Liquidity Lookback: Reduce to 20 for faster markets (e.g., crypto).
Nash Period: Increase to 200 for longer-term analysis.
Backtesting:
Use TradingView's Strategy Tester to evaluate performance.
Check win rate (>50%), profit factor (>1.5), and max drawdown (<20%) for viability.
Test on different assets/timeframes to ensure robustness.
Live Trading:
Start with a demo account.
Combine with other indicators (e.g., EMAs, support/resistance) for confirmation.
Monitor liquidity traps and institutional flow for context.
Risk Management:
Always use SL/TP to limit losses.
Adjust position_size for risk tolerance (e.g., 5% of equity for conservative trading).
Avoid over-leveraging (pyramiding=3 can amplify risk).
Troubleshooting:
If no trades are executed, check signal conditions (e.g., lower herd_threshold or liquidity_sensitivity).
Ensure sufficient historical data for Nash and liquidity calculations.
If tables overlap, adjust position.top_right/bottom_right coordinates.
4. Key Differences from the Previous Indicator
Indicator vs. Strategy: The previous code was an indicator (VP + Game Theory Integrated Strategy) focused on visualization and alerts. This is a strategy with automated entries/exits and backtesting.
Volume Profile: Absent in this strategy, making it lighter but less focused on high-volume zones.
Wick Analysis: Not included here, unlike the previous indicator's heavy reliance on wick patterns.
Backtesting: This strategy includes detailed performance metrics and a backtest table, absent in the indicator.
Simpler Signals: Focuses on Game Theory signals (contrarian, momentum, Nash reversion) without the "Power/Ultra Power" hierarchy.
Risk Management: Explicit SL/TP and dynamic position sizing, not present in the indicator.
5. Conclusion
The "Game Theory Trading Strategy" is a sophisticated system leveraging herd behavior, institutional flows, liquidity traps, and Nash equilibrium to trade market inefficiencies. It’s designed for traders who understand Game Theory principles and want automated execution with robust risk management. However, it requires thorough backtesting and parameter optimization for specific markets (e.g., forex, crypto, stocks). The backtest table and visual aids make it easy to monitor performance, but always combine with other analysis tools and proper capital management.
If you need help with backtesting, adding alerts, or optimizing parameters, let me know!